<?php
namespace app\admin\controller;

class Banner extends Base
{

    protected function _initialize()
    {
        //如果要检测token,就调用父类_initialize方法
        parent::_initialize();
    }


    public function index()
    {

    }

    public function save()
    {

    }

    public function read($id)
    {
        $this->ok('banner 1');
    }

    public function update($id)
    {

    }

    public function delete($id)
    {

    }

    public function upload()
    {
        return $this->upload_img('banner');
    }

    public function uploads()
    {
        return $this->upload_imgs('banner');
    }
}